package org.openems.entity;

public class TextEntity extends AbstractEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3990979827516668340L;
	private String value = "";

	@Override
	protected TextEntity clone() {
		try {
			return (TextEntity)super.clone();
		} catch (CloneNotSupportedException e) {
			e.printStackTrace();
		}
		return null;
	}

	public TextEntity(Key key, String name, boolean persisted) {
		super(key, name, persisted);
		// TODO Auto-generated constructor stub
	}

	@Override
	public Entity getClone() {
		return this.clone();
	}

	@Override
	public String getValueText() {
		// TODO Auto-generated method stub
		return this.value;
	}

	@Override
	public void setValueText(String text) {
		this.value = text;
	}

}
